Platform Explorer / Nuxeo Platform 2021.24

Contribution org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib inside nuxeo-platform-content-template-manager-2021.24.3.jar /OSGI-INF/content-template-contrib.xml

Extension Point

Extension point factoryBinding of component ContentTemplateService.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <factoryBinding factoryName="SimpleTemplateRootFactory" name="RootFactory" targetType="Root">
          <acl>
            <ace granted="true" permission="Everything" principal="Administrator"/>
            <ace granted="true" permission="Read" principal="members"/>
          </acl>
          <template>
            <templateItem id="default-domain" title="Domain" typeName="Domain"/>
          </template>
        </factoryBinding>
  • <factoryBinding factoryName="SimpleTemplateFactory" name="DomainFactory" targetType="Domain">
          <template>
            <templateItem id="workspaces" title="Workspaces" typeName="WorkspaceRoot"/>
            <templateItem id="sections" title="Sections" typeName="SectionRoot"/>
            <templateItem id="templates" title="Templates" typeName="TemplateRoot"/>
          </template>
        </factoryBinding>
  • <factoryBinding factoryName="SimpleTemplateFactory" name="SectionRootFactory" targetType="SectionRoot">
          <acl>
            <ace granted="true" permission="CanAskForPublishing" principal="members"/>
          </acl>
        </factoryBinding>

XML Source

<extension point="factoryBinding" target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService">

    <factoryBinding factoryName="SimpleTemplateRootFactory" name="RootFactory" targetType="Root">
      <acl>
        <ace granted="true" permission="Everything" principal="Administrator"/>
        <ace granted="true" permission="Read" principal="members"/>
      </acl>
      <template>
        <templateItem id="default-domain" title="Domain" typeName="Domain"/>
      </template>
    </factoryBinding>

    <factoryBinding factoryName="SimpleTemplateFactory" name="DomainFactory" targetType="Domain">
      <template>
        <templateItem id="workspaces" title="Workspaces" typeName="WorkspaceRoot"/>
        <templateItem id="sections" title="Sections" typeName="SectionRoot"/>
        <templateItem id="templates" title="Templates" typeName="TemplateRoot"/>
      </template>
    </factoryBinding>

    <factoryBinding factoryName="SimpleTemplateFactory" name="SectionRootFactory" targetType="SectionRoot">
      <acl>
        <ace granted="true" permission="CanAskForPublishing" principal="members"/>
      </acl>
    </factoryBinding>

  </extension>